<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>加载地图</title>
    <!--设置地图-->
    <link rel="stylesheet" href="{{asset('/default/css/company/set_map_iframe.css')}}">
    <script type="text/javascript" src="{{asset('/default/js/jquery.js')}}"></script>
    <script type="text/javascript" src="{{asset('/default/js/public.js')}}"></script>
    <script type="text/javascript" src="{{asset('/vendor/org/layer/layer.js')}}"></script>
    <script>
        var longitude = ($('#longitude', parent.document).val() != '') ? $('#longitude', parent.document).val() : '{{Site::get('longitude')}}';
        var latitude = ($('#latitude', parent.document).val() != '') ? $('#latitude', parent.document).val() : '{{Site::get('latitude')}}';
        var address = ($('#place_name', parent.document).val() != '') ? $('#place_name', parent.document).val() : '{{Site::get('address')}}';
    </script>
    <script type="text/javascript" src="{{getRequestType()}}://api.map.baidu.com/api?v=2.0&ak={{Site::get('mapKey')}}"></script>
    <script language="javascript" src="{{asset('/default/js/personal/set_placemap.js')}}"></script>
</head>
<body>
<!--选择地图定位map-->
<div class="mapcon" style="width:940px;">
    <div class="mtop">
        <div class="msearch">
            <form name="" method="post" onsubmit="return searchMap()">
                {{csrf_field()}}
                <input name="position" type="hidden" id="position"
                       value="@if(!empty($resume->longitude)){{$resume->longitude}},{{$resume->latitude}},{{$resume->place_name}}@endif">
                <input name="seaVal" type="text" value="" id="seaVal" placeholder="输入路名或公司附近知名建筑"/>
                <input name="submit" id="subsearch" class="subSearch" type="submit" value="搜索"/>
                <input id="latitude" name="latitude" value="" type="hidden">

            </form>
        </div>
        <div class="dButton"><span> <a class="determine">确定</a> <a class="cancel">取消</a></span></div>

    </div>
    <div class="screenmap" style="width:938px; height:428px;">
        <div class="mleft" id="mapshow" style="width:698px;height:428px;"></div>
        <div class="mright" id="mright" style="height:428px;"></div>
    </div>
</div>
</body>
</html>